import Vue from 'vue'
import App from './App'
import http from './static/js/https.js';//拦截器
Vue.config.productionTip = false
Vue.prototype.$http = http
App.mpType = 'app'
import store from './store/index.js'
// http.config.baseUrl = "http://121.41.12.201/dream-boot";//测试地址
// http.config.headers.token=uni.getStorageSync('token');
// http.interceptor.request=(config)=>{
// 	// config.header['Content-Type']="application/x-www-form-urlencoded"
// 	config.header['X-Access-Token']=uni.getStorageSync('token')
// }
// //设置请求结束后拦截器
// http.interceptor.response = (response) => {
//     return response;//判断返回状态 执行相应操作
// }
const app = new Vue({
    ...App,
	store
})
app.$mount()
